package com.iotechn.unimall.data.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.iotechn.unimall.data.domain.WarehouseGoodsDO;
import com.iotechn.unimall.data.dto.categroy.CategroySkuCgIdDTO;
import com.iotechn.unimall.data.dto.excel.SkuTotalPriceDTO;
import org.apache.ibatis.annotations.Param;

import java.util.List;


/**
 * 库存商品表
 * 
 * @author wxw
 * @email 
 * @date 2020-03-24 17:22:46
 */
public interface WarehouseGoodsMapper extends BaseMapper<WarehouseGoodsDO> {

    List<SkuTotalPriceDTO> adminWarehouseGoodsSelect(@Param("skuBarCode") String skuBarCode,@Param("warehouseId") Long warehouseId);

    /** 仓库商品 查询 分类id */
    List<CategroySkuCgIdDTO> selectGoodsSkuCategory();
}
